class JobList {
	String? id;
	String? leaderId;
	String? jobId;
	String? jobName;
	String? jobParentId;
	String? jobParentName;

	JobList({
		this.id, 
		this.leaderId, 
		this.jobId, 
		this.jobName, 
		this.jobParentId, 
		this.jobParentName, 
	});

	factory JobList.fromJson(Map<String, dynamic> json) => JobList(
				id: json['id'] as String?,
				leaderId: json['leaderId'] as String?,
				jobId: json['jobId'] as String?,
				jobName: json['jobName'] as String?,
				jobParentId: json['jobParentId'] as String?,
				jobParentName: json['jobParentName'] as String?,
			);

	Map<String, dynamic> toJson() => {
				'id': id,
				'leaderId': leaderId,
				'jobId': jobId,
				'jobName': jobName,
				'jobParentId': jobParentId,
				'jobParentName': jobParentName,
			};
}
